

#ifndef __VI_BASE_H_
#define __VI_BASE_H_

#define OSDRV_MODULE_VERSION_STRING "xiaozhi"
/* define device name */
#define VI_DEVICE_NAME "vi-base"


typedef struct vi_base_reg
{
	unsigned long reg;
	unsigned long value;
}vi_base_reg;


#define VI_BASE_IOC_MAGIC            'i'


#define VI_BASE_GET_ALL_REG			_IOWR(VI_BASE_IOC_MAGIC, 111, unsigned long) 
#define VI_BASE_GET_SIGNLE_REG	    _IOWR(VI_BASE_IOC_MAGIC, 112, unsigned long) 
#define VI_BASE_SET_SIGNLE_REG	    _IOWR(VI_BASE_IOC_MAGIC, 113, vi_base_reg)


#endif /* End of #ifndef __VI_BASE_H_*/

